package com.hh.common.response;

import com.hh.common.response.pagemanagement.BannerFrontResponse;
import com.hh.common.response.pagemanagement.HomeRecommendResponse;
import com.hh.common.vo.CategoryOneLevelVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * 首页信息Response
 *  +----------------------------------------------------------------------
 *  | hh [ hh赋能开发者，助力企业发展 ]
 *  +----------------------------------------------------------------------
 *  | Copyright (c) 2016~2022 https://www.hh.com All rights reserved.
 *  +----------------------------------------------------------------------
 *  | Licensed hh并不是自由软件，未经许可不能去掉hh相关版权
 *  +----------------------------------------------------------------------
 *  | Author: hh Team <admin@hh.com>
 *  +----------------------------------------------------------------------
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="IndexInfoResponse对象", description="用户登录返回数据")
public class IndexInfoResponse implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "首页banner滚动图")
    private List<BannerFrontResponse> banner;

    //商品一级分类
    private List<CategoryOneLevelVo> category;

    //推荐位
    private Map<String, HomeRecommendResponse> recommends;

}
